//-----------------------------------------------------------------------
// <copyright file="SupplierBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class SupplierBase
	{
		
		#region Variable Declarations
		private string				supplierCode = string.Empty;
		private string				supplierName = string.Empty;
		private int				conPointID = 0;
		private bool				isArchived = false;
		#endregion
		
		#region Constructors
		public SupplierBase() {}
		
		public SupplierBase (
			string supplierCode,
			string supplierName,
			int conPointID,
			bool isArchived)
		
		{
			this.supplierCode = supplierCode;
			this.supplierName = supplierName;
			this.conPointID = conPointID;
			this.isArchived = isArchived;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SupplierCode
		{
			get { return supplierCode; }
			set { supplierCode = value; }
		}
		public string originalSupplierCode
		{
			get { return originalSupplierCode; }
			set { originalSupplierCode = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string SupplierName
		{
			get { return supplierName; }
			set { supplierName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ConPointID
		{
			get { return conPointID; }
			set { conPointID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsArchived
		{
			get { return isArchived; }
			set { isArchived = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum SupplierColumns
	{
		SupplierCode,
		SupplierName,
		ConPointID,
		IsArchived
	}//End enum
}